package com.manage.platform.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.manage.platform.entity.TaskFinalAccountFileEntity;
import com.manage.platform.mapper.TaskFinalAccountFileMapper;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * YWD
 * 2025/11/24
 */
@AllArgsConstructor
@Service
public class TaskFinalAccountFileServiceImpl extends ServiceImpl<TaskFinalAccountFileMapper, TaskFinalAccountFileEntity> {


    public Boolean removeByTaskFinalAccountId(Long taskFinalAccountId) {
        LambdaQueryWrapper<TaskFinalAccountFileEntity> queryWrapper = new LambdaQueryWrapper<>();
        queryWrapper.eq(TaskFinalAccountFileEntity::getTaskFinalAccountId, taskFinalAccountId);
        return remove(queryWrapper);
    }


}
